package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.pojo.Setmeal;

public interface SetmealService extends IService<Setmeal> {

    Page<SetmealDto> pageSetmealDto(Integer page, Integer pageSize, String name);

    SetmealDto getByIdWithDish(Long id);

    void saveWithDish(SetmealDto setmealDto);

    void updateWithDishs(SetmealDto setmealDto);

    void deleteByIds(Long[] ids);
}
